package com.ruoyi.jiugongge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * 九宫格活动表 wxact_jiugongge
 * 
 * @author ruoyi
 * @date 2019-01-14
 */
public class Jiugongge extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	
	private List<JiugonggeRelation> awarsList;
	
	/** ID */
	@Excel(name = "活动编号")
	private String id;
	/** 活动名称 */
	@Excel(name = "活动名称")
	private String title;
	/** 活动描述 */
	private String description;
	/** 开始时间 */
	private Date starttime;
	/** 结束时间 */
	private Date endtime;
	/** 背景图 */
	private String banner;
	/** 抽奖次数 */
	private Integer count;
	/** 入口地址 */
	private String hdurl;
	/** 短链接 */
	private String shortUrl;
	/** 是否关注可参加(0：否，1：是) */
	private String foucsUserCanJoin;
	/** 是否绑定手机可参加（0：否，1：是） */
	private String bindingMobileCanJoin;
	/** 每日抽奖次数 */
	private Integer numPerDay;
	/** 是否中奖可参与 0：中奖可继续参与 1:中奖不可参与 */
	private String prizeStatus;
	/** 参与总人数 */
	private Integer joinNumLimit;
	/** 公众号原始id */
	private String jwid;
	/** 活动编码 */
	private String projectCode;
	/** 创建人 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 活动编码*/
	private String code;
	
	
    
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public List<JiugonggeRelation> getAwarsList() {
		return awarsList;
	}

	public void setAwarsList(List<JiugonggeRelation> awarsList) {
		this.awarsList = awarsList;
	}

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setStarttime(Date starttime) 
	{
		this.starttime = starttime;
	}

	public Date getStarttime() 
	{
		return starttime;
	}
	public void setEndtime(Date endtime) 
	{
		this.endtime = endtime;
	}

	public Date getEndtime() 
	{
		return endtime;
	}
	public void setBanner(String banner) 
	{
		this.banner = banner;
	}

	public String getBanner() 
	{
		return banner;
	}
	public void setCount(Integer count) 
	{
		this.count = count;
	}

	public Integer getCount() 
	{
		return count;
	}
	public void setHdurl(String hdurl) 
	{
		this.hdurl = hdurl;
	}

	public String getHdurl() 
	{
		return hdurl;
	}
	public void setShortUrl(String shortUrl) 
	{
		this.shortUrl = shortUrl;
	}

	public String getShortUrl() 
	{
		return shortUrl;
	}
	public void setFoucsUserCanJoin(String foucsUserCanJoin) 
	{
		this.foucsUserCanJoin = foucsUserCanJoin;
	}

	public String getFoucsUserCanJoin() 
	{
		return foucsUserCanJoin;
	}
	public void setBindingMobileCanJoin(String bindingMobileCanJoin) 
	{
		this.bindingMobileCanJoin = bindingMobileCanJoin;
	}

	public String getBindingMobileCanJoin() 
	{
		return bindingMobileCanJoin;
	}
	public void setNumPerDay(Integer numPerDay) 
	{
		this.numPerDay = numPerDay;
	}

	public Integer getNumPerDay() 
	{
		return numPerDay;
	}
	public void setPrizeStatus(String prizeStatus) 
	{
		this.prizeStatus = prizeStatus;
	}

	public String getPrizeStatus() 
	{
		return prizeStatus;
	}
	public void setJoinNumLimit(Integer joinNumLimit) 
	{
		this.joinNumLimit = joinNumLimit;
	}

	public Integer getJoinNumLimit() 
	{
		return joinNumLimit;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}
	public void setProjectCode(String projectCode) 
	{
		this.projectCode = projectCode;
	}

	public String getProjectCode() 
	{
		return projectCode;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("banner", getBanner())
            .append("count", getCount())
            .append("hdurl", getHdurl())
            .append("shortUrl", getShortUrl())
            .append("foucsUserCanJoin", getFoucsUserCanJoin())
            .append("bindingMobileCanJoin", getBindingMobileCanJoin())
            .append("numPerDay", getNumPerDay())
            .append("prizeStatus", getPrizeStatus())
            .append("joinNumLimit", getJoinNumLimit())
            .append("jwid", getJwid())
            .append("projectCode", getProjectCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
